<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>登录</title>
</head>
<body>
<div>
    <form method="post" action="{{ request.get_full_path }}">{% csrf_token %}
        <p>
            用户名：<input type="text" name="user">
        </p>

        <p>
            密&nbsp;码：<input type="password" name="pwd">
        </p>
        <button type="submit">提交</button>
    </form>
</div>
</body>
</html>